﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vit.Database.Schema
{
    [Serializable]
    public class SchemaSchema : SchemaObjectBase
    {
        public SchemaSchema()
        {
            Tables = new List<TableSchema>();
            Views = new List<ViewSchema>();
            Functions = new List<FunctionSchema>();
            StoredProcedures = new List<StoredProcedureSchema>(); 
        }

        public List<TableSchema> Tables { get; set; }
        public List<ViewSchema> Views { get; set; }
        public List<FunctionSchema> Functions { get; set; }
        public List<StoredProcedureSchema> StoredProcedures { get; set; }

        public override SchemaSchema Schema
        {
            get
            {
                return null;
            }
            set
            {
            }
        }

        [System.Xml.Serialization.XmlIgnore()]
        [System.Xml.Serialization.SoapIgnore()]
        public virtual DatabaseSchema Database { get; set; }
    }
}
